package com.ruoyi.mateproduction.mapper;

import com.ruoyi.mateproduction.domain.MtCourseParameter;
import com.ruoyi.mateproduction.domain.MtCourseProject;
import com.ruoyi.mateproduction.domain.MtCourseCheck;
import com.ruoyi.mateproduction.domain.MtCourseProduct;
import com.ruoyi.mateproduction.domain.MtCourseSample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateCourseMapper {


    public int addMateCourse(MtCourseCheck mtCourseCheck);

    public int addMateCourseProduct(MtCourseProduct mtCourseProduct);

    public int addMateCourseProject(MtCourseProject mtCoureseProject);

    public int addMateCourseSample(MtCourseSample mtCourseSample);

    public void  removeMateCourse(Long mtCourseId);

    public void removeMateCourseProduct(Long mtCoureseId);

    public void  removeMateCourseProject(Long mtCourseId);

    public List<MtCourseCheck> mateCourseList(MtCourseCheck mtCourseCheck);

    public MtCourseCheck selectMateCourse(Long mtCourseId);

    public int updateCourse(MtCourseCheck mtCourseCheck);

    public List<MtCourseCheck> auditCourse(Long deptId);

    public int addMateCourseTemplate(MtCourseCheck mtCourseCheck);

    public int addMateCourseProductTemplate(MtCourseProduct mtCourseProduct);

    public int addMateCourseProjectTemplate(MtCourseProject mtCoureseProject);

    public void  removeMateCourseTemplate(Long mtCourseId);

    public void removeMateCourseProductTemplate(Long mtCoureseId);

    public void  removeMateCourseProjectTemplate(Long mtCourseId);

    public MtCourseCheck selectMateCourseTemplate(Map<String,Object> resMap);

    public MtCourseCheck selectMateCourseLast(Map<String,Object> resMap);

    public List<MtCourseProject>  selectMtCourseProject(Long mtCoureseId);

    public List<MtCourseProduct> selectMtCourseProductsTemplate(Map<String,Object> resMap);

    public List<MtCourseProject> selectMtCourseProjectTemplate(Map<String,Object> resMap);

    public List<MtCourseSample> selectMtCourseSample(Long mtCourseId);

    public List<MtCourseSample> selectCourseSalmples(Long mtCourseId);

    public int addCourseResult(MtCourseProject mtCourseProject);


}

